<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib uri="/page" prefix="public"%>
<public:pageControl classPath="app.portalbs.system.appmanager.menu.ModelEdit"/>
<script>

function awesome_onclick(form,page){
	
	 Yacon.showModal({
		 url: "icon/iconEdit.jsp?icon=A",
		 height: "80%",
		 width: "90%",
		 close: "awesome_window_close"
	 });
	
}

function awesome_window_close(windows,page){
	
	if(!Yacon.isEmpty(windows.returnValue)){
		page.find("modelEditForm").value("MODE_ICO",windows.returnValue);
	}
	
}

function glyphicons_onclick(form,page){
	
	Yacon.showModal({
		 url: "icon/iconEdit.jsp?icon=G",
		 height: "80%",
		 width: "90%",
		 close: "glyphicons_window_close"
	 });
}

function glyphicons_window_close(windows,page){
	
	if(!Yacon.isEmpty(windows.returnValue)){
		page.find("modelEditForm").value("MODE_ICO",windows.returnValue);
	}
	
}

</script>